﻿DLSS-IV 1.0.9

Real DLSS for GTA IV, with per-object motion vectors built from the game's own
draw calls, and AMD FSR for everyone who cannot run DLSS. Native HDR.


REQUIREMENTS

  FusionFix - Graphics API must be set to Vulkan
  DXVK (supplied with the mod)
  The game set to borderless windowed if using HDR


INSTALL

  Copy everything in this archive next to GTAIV.exe: DLSS-IV.asi,
  DLSS-IV.cfg, vulkan.dll and the DLSSIV folder.
  DLSS-IV.asi and DLSS-IV.cfg can be put into the plugins\ folder instead.
  vulkan.dll and the DLSSIV folder must stay next to GTAIV.exe.
  DLSSIV\licenses holds the licences of the mod and of everything it ships with.
  Install FusionFix first. It is required.
  vulkan.dll is DXVK 3.1.1 and replaces the copy FusionFix installed.

  IF THE GAME WILL NOT START AT ALL after installing, put that file back
  first: reinstall FusionFix and it restores its own vulkan.dll. DXVK 3.1.1
  needs a current Vulkan driver and some older integrated graphics cannot
  run it. Removing DLSS-IV.asi on its own does NOT help, because vulkan.dll
  stays where it is.

  Works on 1.0.8.0 and on Complete Edition.

  SET FUSIONFIX'S OWN "ANTIALIASING" OPTION TO OFF for the best experience.


CHOOSING AN UPSCALER, in DLSS-IV.cfg

  DLSS needs an NVIDIA RTX card (the 20 series or newer). Every other card
  falls back to FSR.

  upscaler=1   AMD FSR. Runs on any card. Radeon RX 7000 and RX 9000 card
              owners get FSR 4 by default (only supported officially on
              those cards)
              (you can use the fsr_version line in DLSS-IV.cfg to pick
              FSR 3.1 instead, if you want).

              Other card owners get FSR 3.1 by default.

              FSR 4 needs a recent Direct3D 12. If yours is too old for it
              (seen on Windows 10), the mod runs FSR 3.1 instead, and
              DLSS-IV-WARNINGS.txt next to GTAIV.exe says so. To get FSR 4
              there, download a release version (not a preview) of
              Microsoft's Agility SDK (the Microsoft.Direct3D.D3D12
              package), open it as a zip file, and copy
              build\native\bin\x64\D3D12Core.dll into DLSSIV\D3D12\
              (make the D3D12 folder).

  UNOFFICIAL COMMUNITY FSR 4 BUILDS for other cards (NVIDIA, older AMD)
  are linked on this mod's page. They are not made or checked by AMD or
  by this mod: use them at your own risk. To try one, replace
  DLSSIV\amd_fidelityfx_upscaler_dx12.dll with it. The first launch can
  pause for a while as it prepares. To undo, copy DLSSIV\ from this
  archive again.


IF SOMETHING IS WRONG

  IF THE MOD DID NOT START AT ALL it writes DLSS-IV-DID-NOT-START.txt next to
  GTAIV.exe, saying why and what to do about it. That file appears only when
  something went wrong, so if it is not there the mod started. One exception: if Windows will not let the game's
  folder be written to (a game under Program Files, run without permission),
  the file, and the log below, are written to your temporary folder instead:
  press Win+R, type %TEMP%, and look there.

  IF SOMETHING YOU SET IS NOT HAPPENING (HDR stays off, no sharpening, a
  setting seems ignored), read DLSS-IV-WARNINGS.txt next to GTAIV.exe. It
  lists what DLSS-IV.cfg asked for that is not running this session and why:
  HDR needs Windows HDR switched on BEFORE the game starts and the game in
  borderless windowed mode, not exclusive fullscreen; a value out of range is
  clamped; a line the file cannot read is ignored; a second copy of the mod
  is refused. The file exists only when there is something to say.

  IF THE GAME MISBEHAVES WITH THE MOD AND NOT WITHOUT IT (a wrong picture, a
  freeze, a crash), find this line in the PERFORMANCE section of DLSS-IV.cfg:

      threaded=1

  change the 1 to a 0 and run again. By default the mod runs DXVK's Direct3D
  work on a thread of its own, which is its largest performance gain.
  threaded=0 turns that off and nothing else.
  It has been tested on NVIDIA cards only. If threaded=0 fixes something for
  you, please report it with your log.

  IF THE GAME STUTTERS, OR THE FRAME RATE IS WORSE THAN WITH THE LAST VERSION,
  the lines below help find the cause. They are NOT recommended settings: each
  one turns off something that makes the game faster or smoother for most
  players. Set them in DLSS-IV.cfg one at a time, run again after each, and
  report which one helped, with your log. The first three are already in the
  file, in its PERFORMANCE section: change the 1 to a 0.

      cpu_place=0        no thread of the game gets a processor of its own
      unpin=0            leaves the game's CPU handling alone
      threaded=0         DXVK's Direct3D work is not moved to its own thread
      responsiveness=0   turns the latency modes off
      rename_sdr=0       NVIDIA only: SDR keeps DXVK's own window name, so no
                         G-Sync in a borderless window (add the line)

  For anything else, look at DLSS-IV.log next to GTAIV.exe. It says what was
  detected, what was refused and why. The previous run is kept as
  DLSS-IV.prev.log. Please attach it to a report.
